import request from "@/utils/request";

export function getSiteList() {
  return request({
    url: '/site/getSiteList',
    method: 'get',
  })
}

export function getCategoryListBySite(siteKey){
  return request({
    url: '/site/getCategoryListBySite',
    method: 'get',
    params:{
      siteKey:siteKey,
    }
  })
}

export function getTranslatorList(){
  return request({
    url: '/getTranslatorList',
    method: 'get',
  })
}

export function getEditorList(){
  return request({
    url: '/getEditorList',
    method: 'get',
  })
}
